struct node
{
    int nextp;
    int no_out;

} link[31];
main()//唐子豪
{
    int i,j,k;
    printf("The original circle is(+:pagandom,@:chritian):\n");
    for(i=1;i<=30;i++){
        link[i].nextp=i+1;
        link[i].no_out=1;
    }
    link[30].nextp=1;
    j=30;
    for(i=0;i<15;i++){
        for(k=0;;)
            if(k<15){
                j=link[j].nextp;
                k+=link[j].no_out;
        
            }
            else break;
        link[j].no_out=0;
    }
    for(i=1;i<=30;i++)
        printf("%c",link[i].no_out?'@':'+');
    printf("\n");
}